package com.health.dao;

import com.github.pagehelper.Page;
import com.healthcommon.pojo.CheckItem;
import com.healthcommon.pojo.Setmeal;

import java.util.List;
import java.util.Map;

public interface SetmealDao {


    void add(Setmeal setmeal);

    void setSetmealAndCheckGroup(Map<String, Integer> map);

    Page<Setmeal> selectByCondition(String queryString);

    void deleteAssociation(Integer id);

    void delectSetmealById(Integer id);

    Setmeal selectfindById(Integer id);

    Integer[] findCheckItemIdsBySetmealId(Integer id);

    void updateSetmeal(Setmeal setmeal);

    void delectSetmealAndCheckgroupById(Integer id);

    List<Setmeal> findAll();

    Setmeal selectfindByIdAll(int id);

    List<Map<String, Object>> findSetmealCount();
}
